<script type="text/javascript">
  var xAdmin = {root: '{{root}}'};
  (function () {
    var bootstrap = document.getElementById('bootstrap'),
      theme = localStorage.getItem('theme') || 'default';
    bootstrap.href = xAdmin.root+'/bootswatch/'+theme+'/bootstrap.min.css';
  }());
</script>
